//
//  UILabel+FRP.h
//  Pods
//
//  Created by kepuna on 2017/10/18.
//
//

#import <UIKit/UIKit.h>

@interface UILabel (FRP)

/**
 初始化方法
 */
+ (instancetype)nx_initWith:(void (^)(UILabel *label))initBlock;

/**
 设置frame
 */
- (UILabel *(^)(CGRect frame))nx_frame;
- (UILabel *(^)(UIView *view))nx_addInView;
- (UILabel *(^)(NSString *text))nx_text;
- (UILabel *(^)(UIColor *color))nx_textColor;
- (UILabel *(^)(UIColor *color))nx_backgroundColor;
- (UILabel *(^)(CGFloat value))nx_fontSize;
- (UILabel *(^)(NSTextAlignment alignment))nx_textAlignment;
- (UILabel *(^)(NSInteger value))nx_numberLine;
- (UILabel *(^)(NSString *name ,CGFloat fontSize))nx_textName;
- (UILabel *(^)(UIColor *color,CGFloat width))nx_border;
- (UILabel *(^)(CGFloat cornerRadius))nx_cornerRadius;

@end
